package com.ctshk.rpc.order.bus.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.Valid;
import javax.validation.constraints.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

@Data
@ApiModel(value = "BusOrderPayReq对象", description = "巴士订单支付Req")
public class BusOrderPayReq implements Serializable {
	private static final long serialVersionUID = 1L;

    @NotNull(message = "订单id不能为空")
    @ApiModelProperty(value = "订单id")
    private Long id;

    @NotNull(message = "支付方式不能为空")
    @ApiModelProperty(value = "支付方式")
    private String payType;

    @NotNull(message = "支付金额不能为空")
    @ApiModelProperty(value = "支付金额")
    private BigDecimal payAmount;

}
